//
//  LKShopTreasureListCell.m
//  Mideleague_Shop
//
//  Created by Zhiwang on 2020/7/9.
//  Copyright © 2020 Zhiwang. All rights reserved.
//

#import "LKShopTreasureListCell.h"

@interface LKShopTreasureListCell()

@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@property (weak, nonatomic) IBOutlet UILabel *orderLabel;

@end


@implementation LKShopTreasureListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(LKShopTreasureModel *)model{
    _model = model;
    self.priceLabel.text = _model.sn;
    self.dateLabel.text = [NSString timestampSwitchTime:[_model.add_time integerValue] andFormatter:@"YYYY-MM-dd"];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
